

package com.zdkj.subway.st.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 车票配送/配入明细表
 *
 * @author cuilei
 * @date 2020-06-12 17:40:29
 */
@Data
@TableName("sw_tk_ticket_delivery_detail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "车票配送_配入明细表")
public class SwTkTicketDeliveryDetail extends Model<SwTkTicketDeliveryDetail> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    private Integer id;
    /**
     * 主表关联ID
     */
    @ApiModelProperty(value = "主表关联ID")
    private Integer refId;
    /**
     * 票种
     */
    @ApiModelProperty(value = "票种CODE")
    private String ticketType;
    /**
     * 车票名称
     */
    @ApiModelProperty(value = "车票CODE")
    private String ticketTypeParam;

    /**
     * 号段
     */
    @ApiModelProperty(value = "号段")
    private String numberInterval;

    /**
     * 有效期
     */
    @ApiModelProperty(value = "有效期")
    private String cardNumber;
    /**
     * 金额【元】
     */
    @ApiModelProperty(value = "金额【元】")
    private BigDecimal ticketAmount;
    /**
     * 次数
     */
    @ApiModelProperty(value = "次数")
    private String ticketCount;
    /**
     * 配送/入张数
     */
    @ApiModelProperty(value = "配送/入张数")
    private Integer deliveryCount;
    /**
     * 接收张数
     */
    @ApiModelProperty(value = "接收张数")
    private Integer receiveCount;
    /**
     * 差异张数
     */
    @ApiModelProperty(value = "差异张数")
    private Integer differenceCount;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 删除标志
     */
    @TableLogic
    private String delFlag;
}
